package com.weng.platform.article.entity;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.weng.framework.dao.mybatis.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;


/**
 * 新闻资讯内容表实体Bean
 *
 * @author wenghui
 * @date 2019-11-29 14:48:05
 *
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("article_content")
public class ArticleContent extends BaseEntity<ArticleContent> {

    private static final long serialVersionUID = 1L;
	
	
	/**
     * 
     */
	 @TableField(value="id")
	private String id;
	
	
	/**
     * 新闻资讯id
     */
	 @TableField(value="article_id")
	private String articleId;
	
	
	/**
     * 新闻资讯内容
     */
	 @TableField(value="content")
	private String content;
	
	
	/**
     * 是否逻辑删除标识（0-未删除，1-已删除）
     */
	 @TableField(value="is_deleted")
	private String isDeleted;



	/**
	 * 创建时间
	 */
	@TableField(value="create_time",fill = FieldFill.INSERT, strategy = FieldStrategy.NOT_EMPTY)
	private Date createTime;


	/**
	 * 更新时间
	 */
	@TableField(value="update_time" ,fill = FieldFill.INSERT_UPDATE,strategy= FieldStrategy.NOT_EMPTY)
	private Date updateTime;

	
	
}
